﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace MensUnoShop.Models
{
    public class PayInfo
    {
        private int? _cashid;
        private string _txid;        
        private PayType _paytype;        
        private int _amount;
        private DateTime _datein;
        private PayInfoCreditcard _piccard;
        private PayInfoCS _pics;

        public int? CASHID { set { _cashid = value; } get { return _cashid; } }
        public string TXID { set { _txid = value; } get { return _txid; } }        
        public PayType PAYTYPE { set { _paytype = value; } get { return _paytype; } }        
        public int AMOUNT { set { _amount = value; } get { return _amount; } }
        public DateTime DATEIN { set { _datein = value; } get { return _datein; } } 
        public PayInfoCreditcard PICCARD { set { _piccard = value; } get { return _piccard; } }
        public PayInfoCS PICS { set { _pics = value; } get { return _pics; } }


        public PayInfo()
        {
            _piccard = new PayInfoCreditcard();
            _pics = new PayInfoCS();
        }

    }
}